home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / appl / qwriter / Smakefile < prev    next >
Makefile  |  1993-12-21  |  2KB  |  70 lines

  1. # Smakefile for Qwriter
  2. #
  3. # Authors: AmiTCP/IP Group <AmiTCP-Group@hut.fi>,
  4. #       jraja  <Jarno.Rajahalme@hut.fi>
  5. #          ppessi <Pekka.Pessi@hut.fi>
  6. #       too    <Tomi.Ollila@cs.hut.fi>
  7. #       puhuri <Markus.Peuhkuri@hut.fi>
  8. #
  9. # Copyright (c) 1993. All rights reserved. 
  10. #
  11. # Created      : Sat Mar 20 02:44:57 1993 ppessi
  12. # Last modified: Fri Nov 12 03:09:41 1993 jraja
  13. #
  14.  
  15. MAKE = smake
  16.  
  17. RM= delete
  18. RM_RECURSIVE= delete all
  19. MKDIR= makedir
  20. INSTALL= copy dates all
  21.  
  22. CC= sc
  23.  
  24. SRC= main.c fcs.c ftp.c nfs.c telnet.c inet.c
  25. OBJS= main.o fcs.o ftp.o nfs.o telnet.o inet.o
  26. LIBS= NETLIB:net.lib MATH=STANDARD
  27.  
  28. OPTFLAGS= Optimize Stripdebug NoDebug
  29. DEBUGFLAGS= NoOptimize DEBUG=FULLFLUSH
  30.  
  31. DEFS= DEF=AMIGA DEFINE DEBUG # DEFINE NODB
  32. IDIRS=  IDIR=netinclude: 
  33. SCFLAGS= NOSTACKCHECK NOMULTIPLEINCLUDES \
  34.      NOERRORSOURCE NOVERSION NOERRORHIGHLIGHT IGNORE=224 IGNORE=92 \
  35.      SMALLCODE SMALLDATA \
  36.      MAP MAPHUNK MAPSYMBOLS MAPLIB MAPXREFERENCE \
  37.      LINKEROPTIONS=plain NOICONS \
  38.      OPTINL OPTTIME OPTCOMP=5 OPTDEP=5 OPTRDEP=5 \
  39.      $(IDIRS) $(DEFS) 
  40.  
  41. LD= slink
  42.  
  43. all: qwriter
  44.  
  45. qwriter: SCOPTIONS $(OBJS)
  46.     $(CC) LINK TO $@ OBJ=$(OBJS) BATCH $(LIBS)#
  47.  
  48. SCOPTIONS: Smakefile
  49.     copy to $@ <from < 
  50. $(OPTFLAGS) $(SCFLAGS) 
  51. <
  52.  
  53. # smake debug all to make a debugging version
  54. DEBUG:
  55.     copy to SCOPTIONS <from < 
  56. $(DEBUGFLAGS) $(SCFLAGS) 
  57. <
  58.  
  59. $(DEST)bin:
  60.     $(MKDIR) $(DEST)bin 
  61.  
  62. install: all $(DEST)bin
  63.     $(INSTALL) qwriter $(DEST)bin
  64.  
  65. clean:
  66.     -$(RM) \#?.o \#?.map \#?.lnk SCOPTIONS
  67.  
  68. # DO NOT DELETE THIS LINE -- make depend depends on it.
  69.